﻿using Bot.Domain.Enum;
using System.ComponentModel.DataAnnotations;

namespace Bot.Domain.Articles
{
    public class ArticleDto
    {
        public int Id { get; set; }

        public string Body { get; set; }

        [StringLength(1024)]
        public string CustomURL { get; set; }

        [Required]
        public int? CategoryId { get; set; }

        [Required]
        public bool? IfFeatured { get; set; }

        [Required]
        public EnumArticleStatus? Status { get; set; }

        [Required]
        [MaxLength(1024)]
        public string Title { get; set; }

        public int[] TagIds { get; set; }
    }
}
